-
Home
-
WooCommerce Visma Integration
-
2.2.3
-
Code
-
Classes
- WTV_Orders
Total Complexity |
83 |
Dependencies |
9 |
Dependents |
9 |
Total lines |
557 |
Lines of code |
339 |
Logical lines of code |
176 |
Comment lines |
151 |
Methods |
26 |
Properties |
0 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
set_way_of_delivery() |
A |
50 |
10 |
27 |
sync() |
A |
46 |
7 |
37 |
generate_order_header_payload() |
A |
47 |
7 |
32 |
generate_order_row_payload() |
S |
47 |
6 |
34 |
validate_order_items() |
S |
57 |
6 |
16 |
get_order_total() |
S |
54 |
5 |
24 |
create_shipping_article() |
S |
49 |
4 |
30 |
get_shipping() |
S |
51 |
4 |
25 |
has_eu_vat_number() |
S |
61 |
4 |
12 |
handle_fees() |
S |
63 |
4 |
10 |
item_is_variation() |
S |
70 |
3 |
6 |
send_order_to_visma() |
S |
61 |
2 |
12 |
get_vat_percentage() |
S |
70 |
2 |
6 |
set_order_as_synced() |
S |
71 |
2 |
5 |
is_synced() |
S |
70 |
2 |
6 |
visma_order_exists() |
S |
64 |
2 |
10 |
format_status() |
S |
68 |
2 |
7 |
get_order() |
S |
67 |
2 |
7 |
calculate_item_discount() |
S |
68 |
2 |
7 |
set_visma_order_id() |
S |
76 |
1 |
4 |
get_visma_order_id() |
S |
80 |
1 |
3 |
get_product_name() |
S |
80 |
1 |
3 |
convert_order_to_invoice() |
S |
69 |
1 |
6 |
delete_order() |
S |
75 |
1 |
4 |
get_order_number() |
S |
77 |
1 |
3 |
add_order_error_log() |
S |
79 |
1 |
3 |